﻿using adminTemplateApi.Data;
using adminTemplateApi.Model;

namespace adminTemplateApi.Controllers
{
    public class PowerController : BaseController<Powers, string>
    {
        public PowerController(DBContext context) : base(context)
        {
        }

        protected override string GetIdFromObj(Powers obj)
        {
            return obj.Code;
        }
    }
}
